package test_system.controller;

import test_system.menu.Menu;
import test_system.menu.MenuTeacher;
import test_system.parser.ParseRefactorForTeacher;
import test_system.questions.Answer;

import java.util.ArrayList;


public class TestControllerTeacher extends TestController {
    String fileName = "tmp.txt";


    protected ArrayList<Answer> getNewTestAnswers() {

        Menu menu = new MenuTeacher();
        test = new ParseRefactorForTeacher().createTest(fileName);
        ArrayList<Answer> userAnswers = new ArrayList<Answer>();
        userAnswers = menu.getUserAnswers(userAnswers, 0);
        return userAnswers;
    }


}
